package com.onlineMIS.sorter;

import java.util.Date;

import com.onlineMIS.ORM.entity.headQ.finance.HeadQAccFlowReportItem;


public class HeadQAccFlowReportItemSort implements java.util.Comparator<HeadQAccFlowReportItem> {

	public int compare(HeadQAccFlowReportItem p1,HeadQAccFlowReportItem p2){
        Date date1 = p1.getDate();
        Date date2 = p2.getDate();

        
        return date1.compareTo(date2);
	 }
}
